package Base;

import java.net.SocketTimeoutException;

public class Test {
    /**
     * @param args add by zxx ,Dec 9, 2008
     */
    public static void main(String[] args) {
        String t = "hello";
        String a = "hello";
        char c[] = {'h', 'e', 'l', 'l', 'o'};
        System.out.println(t.equals(a));
        System.out.println(t.equals(c));
        System.out.println(t==a);
        System.out.println(t.equals(new String("hello")));
    }

}

